NoisePerc : SimpleSynthDescriptor{
	

	createGuiControls{	
	
		this.put(\spread, 			c.new(default: 0.75,min: 0.5, max: 1,  midiNum:18) );
		this.put(\spread, 			c.new(default: 0.75,min: 0.5, max: 1,  midiNum:18) );
		this.put(\freq, c.new(default: 8000, max: 8000, min: 100) );
		this.put(\mul, c.new(default: 3000, max: 3000, min: 100) );
		this.put(\add, c.new(default: 2000, max: 2000, min: 0.0001) );
//		this.put(\attack2, 		c.new(default: 0.05, min:0.001, max: 3,  midiNum:17) );
//		this.put(\len2, 			c.new(default: 0, min: 0.01, max: 0.5,  midiNum:16) );
//		this.put(\sustain2, 		c.new(default: 1, min:0.001, max: 1,  midiNum:17) );
//		this.put(\decay2, 			c.new(default: 5,min: 0.001, max: 5,  midiNum:18) );
		
	}
	
	*loadSynth{
	
		
		SynthDef(
					
			this.getSynthName,
			{
				arg 
				busNum,
				freq,
				mul,
				add,
				attack2, 
				len2, 
				sustain2, 
				decay2,
				curve2 = 0,
				spread = 0.75
				;
				
				var sig, env, multEnv;
	
				
//				env = Env([0, 1, sustain2, 0], [attack2, len2, decay2], curve2);
//				multEnv = EnvGen.kr(env);
	
				sig = [
					SinOsc.ar(
						LFNoise1.ar(freq, mul, add),
						0, 0.2
					),
					SinOsc.ar(
						LFNoise1.ar(freq, mul, add),
						0, 0.2
					)
				];
				
				sig = [(sig[0])+ (sig[1] * (1 - spread)), (sig[1])+ (sig[0] * (1 - spread))];
				  
				Out.ar(busNum, 
					sig
				);
				
				
			}
			
		).load(Server.default);
	
	}

}